﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cbydzs.aspx.cs" Inherits="Catering.Catering_Page.Kufang.cbydzs" %>
<%@ Register src="../../UCPanle/DDLTool.ascx" tagname="DDLTool" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" src="../../Style/zhezhao.js"></script>
    <script src="../../Style/xxk.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script type="text/javascript" src="../Tool_Reporter/js/jquery.min.js"></script>
    <style type="text/css">
        .report_xh_title{font-weight:bold; font-size:16px; color:#0066CC;}
    </style>
    <script type="text/javascript">
        function GetDataGroup(title, data) {
            var xcategory = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'];
            var chart;
            var banzuptions = {
                chart: { renderTo: 'container', zoomType: 'xy'}, //容器ID
                title: { text: title }, //报表大标题
                //subtitle: { text: '报表小标题' }, //报表小标题
                xAxis: [{//x轴
                    categories: xcategory
                }],
                yAxis: [{ // Primary yAxis
                    labels: {
                        formatter: function () {
                            return this.value + '￥';
                        },
                        style: {
                            color: '#89A54E'
                        }
                    },
                    min: 0,
                    title: {
                        text: '人均成本',
                        style: {
                            color: '#89A54E'
                        }
                    }
                }, { // Secondary yAxis
                    min: 0,
                    title: {
                        text: '实际就餐人数',
                        style: {
                            color: '#4572A7'
                        }
                    },
                    labels: {
                        formatter: function () {
                            return this.value + '人';
                        },
                        style: {
                            color: '#4572A7'
                        }
                    },
                    opposite: true
                }],
                tooltip: {
                    formatter: function () {
                        return '' +
                        this.x + ': ' + this.y +
                        (this.series.name == '实际就餐人数' ? '人' : '￥');
                    }
                },
                series: []
            };
            for (var i = 1; i < arguments.length; i++) {
                banzuptions.series[i - 1] = arguments[i];
            }
            chart = new Highcharts.Chart(banzuptions);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" ScriptMode="Release" runat="server"></asp:ScriptManager>
    <script type="text/javascript" src="../Tool_Reporter/js/highcharts.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/modules/exporting.js"></script>
    <div id="div_se_1" class="nav_2" style="display: block">
        <div class="nav_2_1"><img src="../../Images/nav2_bg1.gif" /></div>
        <ul>
            <li style="background: none; width:60px; "><a href="CostDataStatistics.aspx"><span id="span_peic_1" class="lvse_border">成本统计</span></a></li>
            <li style="background: none; width:60px; "><a href="XiaohaoTypeCrossChar.aspx"><span id="span_peic_2" class="feise_border">消耗统计</span></a></li>
            <li style="background: none; width:130px; "><a href="DataStates.aspx"><span id="span_peic_3" class="feise_border">出入库状态统计</span></a></li>
        </ul>
        <div class="nav_2_3"><img src="../../Images/nav2_bg2.gif" /></div>
    </div>
    <div class="xxk_button1">
        <ul>
            <li id="li2_1" class="li_out"><a href="CostDataStatistics.aspx" >成本数据统计</a></li>
            <li id="li2_2"class="li_out"><a href="CostDataPieChar.aspx" >成本比例图</a></li>
            <li id="li2_3" class="li_out"><a href="CostDataPersonAvgChar.aspx" >月人均成本明细</a></li>
            <li id="li2_4" class="li_out"><a href="ylcbtj.aspx" >原料成本统计</a></li>
            <li id="li2_5" class="li_over"><a href="cbydzs.aspx" >成本月度走势</a></li>
            <li id="li2_6" class="li_out"><a href="rjcbzs.aspx" >人均成本走势</a></li>
        </ul>
    </div>
        <div class="Center_Content" id="div2_2" style="display: block">        
            <div class="div_0207 left_width500" style="height:34px; width:998px;">
                <table align="left" width="100%" border="0" cellspacing="0" cellpadding="0" class="ckgl_table" style="height:34px">
                    <thead>
                        <tr>
                            <td><uc1:DDLTool ID="DDLTool1" ISAdminAll="false" runat="server" /></td>
                            <td width="100" align="right">
                                <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">开始统计</asp:LinkButton>
                            </td>
                            <td width="10"></td>
                        </tr>
                    </thead>
                </table>
            </div>
            <div id="container" style="width:1000px; height: 400px; margin: 0 auto"></div>
        </div>
    <div class="footer"><strong>中海油能源发展配餐服务公司渤海自营油田作业公司&nbsp;&nbsp;版权所有@CopyRight 2012</strong><span>技术支持：北京天择嘉业科技有限公司</span></div>
    </form>
</body>
</html>
